// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1
import com.nokia.meego 1.1

Dialog{
    id: dialog
//    property string title: text_title.text
//    property string message: text_mesg.text

    signal create(string name);
    title: Text{
            id: text_title
            color: "#ffffff"
            text: "title"
            font.bold: true
            font.pointSize: 10
        }

    content:Item {
        id: name
        height: 50
        width: parent.width
        Column {
            spacing: 2
            Label{ id: label_name;opacity: 0.6 ; color: "white";text: qsTr("Name of your new directory :")}
            TextField { id: line_nameDir;text: "yekmen"}
            Button {text: "Create"; onClicked: {
                                    create(line_nameDir.text)
                                    dialog.accept();
                }
            }
        }
    }

//    buttons: ButtonRow {
//        style: ButtonStyle { }
//        anchors.horizontalCenter: parent.horizontalCenter
//        Button {text: "OK"; onClicked: dialog.accept()}
//    }
}
